package com.CST.mapper.cst;

import com.CST.dto.InSourceDTO;
import com.CST.entity.EtlIncomeinsource;
import com.CST.vo.InComeSourceUnLinkVO;
import com.CST.vo.InSourceVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2022-01-06
 */
@Repository
public interface EtlIncomeinsourceMapper extends BaseMapper<EtlIncomeinsource> {

    List<InSourceVO> listEtlInComeInSource(InSourceDTO inSourceDTO);

    /**
     * 查询住院开单科室未关联的HIS编码
     * @param inSourceDTO
     * @return
     */
    List<InComeSourceUnLinkVO> getUnlinkInComeInSourceWithBill(InSourceDTO inSourceDTO);

    /**
     * 查询住院执行科室未关联的HIS编码
     * @param inSourceDTO
     * @return
     */
    List<InComeSourceUnLinkVO> getUnlinkInComeInSourceWithExecutive(InSourceDTO inSourceDTO);
}
